home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
023a
/
prop_man.zip
/
BACKUP.SAB
< prev
next >
Wrap
Text File
|
1991-09-26
|
1KB
|
65 lines
label start
clear all v
set mes off ; set err mes off ; set echo off ; set bell off
cls
display cp.dis
Write "BACKUP.SAB" At 2,36
label redo
set color backgrnd red
set color foregrnd white
SET NULL "-0-"
set v wzxc to ""
fillin wzxc using "Back-Up To [A] Drive Or [B] Drive " at 10,22
write " " at 10,22
WRITE "Backing Up DataBase To Drive -> " at 10,22
write .wzxc at 10,54
if wzxc = "a" or wzxc = "A" then ; goto bua ; endif
if wzxc = "b" or wzxc = "B" then ; goto bub ; endif
goto redo
label bua
OUTPUT A:RENT.BAK
BACKUP ALL
goto beep
label bub
output b:rent.bak
backup all
label beep
BEEP
OUTPUT SCREEN
cls
set col bac mag
display cp.dis
write "BACKUP.SAB" at 2,36
write "Hardcopy In Progress" at 12,30
close
erase retemp*.*
open rent
reload retemp
cls
set col back gre
display cp.dis
write "BACKUP.SAB" at 2,36
write "Floppy & HDD Back-Up Complete. PACKing In Progress" at 12,14
PACK
beep
label poi
set col bac blu
WRITE "PACKing Complete, BACKUP Complete, SHUTDOWN Complete" at 14,14
label sav
write "Place O/S & .SAB Files Disk In Drive" at 16,19
write .wzxc at 16,56
write "Press Any Key To Continue" at 17,27
pause
set col bac blu
if wzxc = "a" or wzxc = "A" then ; goto sava ; endif
if wzxc = "b" or wzxc = "B" then ; goto savb ; endif
label sava
run sava.sab
goto fin
label savb
run savb.sab
label fin
cls
return